﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Composite.Modularity;

using XWord.Fundamental.Presenters;
using XWord.GUI.Presenters.Interface;
using Microsoft.Practices.ServiceLocation;
using Luna.WPF.ApplicationFramework;
using System.Threading;

namespace XWord.Modules.WordExplains
{
    public class Module : IModule
    {
        public void Initialize()
        {
            //Console.WriteLine("WordExplainsPresenter");
            ThreadPool.QueueUserWorkItem(new WaitCallback((object obj) =>
            {
                ServiceLocator.Current.GetInstance<IDockablePresenter>("WordExplainsPresenter").Initialize();
            }));
            
        }
    }
}
